If the player earns 50 points before the timer runs out, they win!

  • Use another if statement inside the event to test if recycle_xp is greater than or equal to 50.
  • Choose a sprite to be the prize and drag it inside the new if statement.
  • Set a new variable and use Text in Color to create a message for the winner!

To navigate the page using the TAB key, first press ESC to exit the code editor.

# THIS ACTIVITY IS IN PREVIEW ONLY MODE
  • Run Code
  • Submit Work
  • Next Activity
  • Show Console
  • Reset Code Editor
  • Codesters How To (opens in a new tab)